import request from '@/utils/request'

// 保存SKU
export const reqAddSku = data => {
  return request({
    method: 'POST',
    url: `/admin/product/saveSkuInfo`,
    data
  })
}

// 根据SPUID获取SKU列表
export const reqGetSkuList = spuId => {
  return request({
    method: 'GET',
    url: `/admin/product/findBySpuId/${spuId}`
  })
}
